package com.to_many;

import com.bean.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StudentMapper {
    //根据cid查询学生
    @Select("Select * from student where cid=#{cid}")
    public abstract List<Student> selectByCid(Integer id);
}
